﻿using System;
using System.Collections.ObjectModel;
using System.ServiceModel.DomainServices.Client;

namespace Falafel.ViewModel
{
    public class EntityLoadingEventArgs<TEntity> : EventArgs where TEntity: Entity
    {
        public ObservableCollection<TEntity> Results { get; private set; }

        public EntityLoadingEventArgs(ObservableCollection<TEntity> results)
        {
            Results = results;
        }
    }
}
